package com.ht.mt.sric.entity;

import java.io.Serializable;

import java.math.BigDecimal;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.SequenceGenerator;

@Entity
@NamedQueries({ @NamedQuery(name = "Video.findAll", query = "select o from Video o") })
public class Video implements Serializable {
    private static final long serialVersionUID = -5244642242155023370L;
    @Id
    @SequenceGenerator(name = "SQ_VIDEO", sequenceName = "SQ_VIDEO", allocationSize = 1)
    @GeneratedValue(generator = "SQ_VIDEO")
    @Column(name = "ID_VDO", nullable = false)
    private Integer idVdo;
    @Column(name = "FCH_VDO", length = 10)
    private String fchVdo;
    @Column(name = "HR_VDO", length = 10)
    private String hrVdo;
    @Column(name = "NMBR_VDO", length = 20)
    private String nmbrVdo;

    public Video() {
    }

    public Video(String fchVdo, String hrVdo, Integer idVdo, String nmbrVdo) {
        this.fchVdo = fchVdo;
        this.hrVdo = hrVdo;
        this.idVdo = idVdo;
        this.nmbrVdo = nmbrVdo;
    }

    public String getFchVdo() {
        return fchVdo;
    }

    public void setFchVdo(String fchVdo) {
        this.fchVdo = fchVdo;
    }

    public String getHrVdo() {
        return hrVdo;
    }

    public void setHrVdo(String hrVdo) {
        this.hrVdo = hrVdo;
    }

    public Integer getIdVdo() {
        return idVdo;
    }

    public void setIdVdo(Integer idVdo) {
        this.idVdo = idVdo;
    }

    public String getNmbrVdo() {
        return nmbrVdo;
    }

    public void setNmbrVdo(String nmbrVdo) {
        this.nmbrVdo = nmbrVdo;
    }
}
